<template>
  <div>
    <!-- 面包屑 -->
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/welcome' }">首页</el-breadcrumb-item>
      <!-- <el-breadcrumb-item>秒杀活动</el-breadcrumb-item>
      <el-breadcrumb-item>活动详情</el-breadcrumb-item> -->
    </el-breadcrumb>
    <!-- 卡片 -->
    <el-card class="box-card">
      <div slot="header" class="clearfix">
        <span style="font-size: 18px"></span>
        <!-- <el-button style="float: right; padding: 3px 0" type="primary">发布</el-button> -->
        <!-- <el-button type="primary" class="createBtn">发布</el-button> -->
        <img src="../../../assets/bank2.png" alt="" class="createBtn" />
      </div>

      <!-- Echarts图表 -->
      <!-- <div class="echarts">
        <div id="myChart" :style="{ width: '500px', height: '500px' }"></div>
        <div id="myChart2" :style="{ width: '500px', height: '500px' }"></div>
      </div> -->
      <div class="welcome">
        <div class="welcome-item1">欢迎进入三湘银行秒杀系统管理员端</div>
        <div class="welcome-item2">{{name}}，您辛苦了</div>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      msg: "Welcome to Your Vue.js App",
      name:''
    };
  },
  created(){
    this.getName();
  },
  mounted() {},
  methods: {
    getName(){
      this.name = this.$root.ADMIN.admin_name
    }
  },
};
</script>

<style>
.el-breadcrumb {
  margin-bottom: 15px;
  font-size: 12px;
}
.el-card {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) !important;
}
.createBtn {
  width: 150px;
  height: 35px;
  float: right;
  padding: 3px 0;
  margin-top: -6px;
}
.echarts {
  display: flex;
  justify-content: space-between;
}
.welcome{
  font-family: welcomeFont;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 200px;
}
.welcome-item1{
  font-size: 65px;
}
.welcome-item2{
  font-size: 30px;
  margin-top: 150px;
}
</style>